package com.second.app.designpattern.state;

/**
 * @Author GYZ
 * @Date 2022/7/18 17:18
 * @Version 1.0
 */
public class test {
    public static void main(String[] args) {
        ScoreContext scoreContext = new ScoreContext();
        System.out.println("学生成绩状态测试：");
        scoreContext.add(30);
        scoreContext.add(40);
        scoreContext.add(25);
        scoreContext.add(-15);
        scoreContext.add(-25);

    }
}
